Fix predef endian detection headers