Fix build errors on FreeBSD
Merge branch 'freebsd_fixes' of github.com:clemensg/zmap into clemensg-freebsd_fixes