remove endian check because of cross-compiling
and endian.h has platform support