Fix build on big endian architectures.