Move endianness header to SDK