Fix the endian defines for OSX