Enable build on freebsd (#132 / #112)
Enable build on openbsd to fix #194