Fixing endian macros