Fix hostname options for FreeBSD.