Fix endian.h include for FreeBSD