Netbsd

fix/add netbsd support
with help from @r-stu31