Fixes for signed char architectures