Fix hostname options for FreeBSD.
Merge pull request #129 from hadret/master

Quick fix for hostname.sh for FreeBSD.