support big endian platforms by forcing little endianness on them

testing:

  bin_write_int_{8,16,32,64}bit
  bin_size_...
