Added a compile-time check for machine endianness.