refine commandline output
Fix build on FreeBSD
Merge pull request #178 from eataix/fix-build-on-freebsd

Fix build on FreeBSD
refine error message