Check for endianness at runtime instead of relying on defines that might not be defined everywhere...