endian: fix compilation with musl libc.