add support for NetBSD