Correcting common.h byte order handling