Mac build fix (weird, BIG_ENDIAN really shouldn't be defined)