Fixed CPU endian detection