Quick fix for hostname.sh for FreeBSD.