<endian.h> detection is less portable after all