misc fixes
rename fix-unistd-issue.sh to fix_unistd_issue.sh
add '-L/usr/pkg/lib' for NetBSD