Ugly hack for OCaml 3.12: Sys.big_endian is not available