Build changes to detect endianness.