endianess check at runtime