a few fixes for netbsd
Merge branch 'master' of github.com:openscad/openscad