Add support for paths for NetBSD
Add support for paths for NetBSD