Fix xcompile if _POSIX_HOST_NAME_MAX not defined