Don't use unportable htobe64 macro directly