Endianness is covered for Linux.

May consider bringing this to other OSes as well.