Reimplemented compile-time endian checking for little, big, and PDP endian-based machines.