FreeBSD portmaster support.
Fix for issue #56.