actually doing actual check for endianness. ~portability