fix GNU_HOST_NAME for non-linux machines