Fix for htons->hotonl on 32 bit.