only define byte order conversion routines if they are not yet defined