Added NetBSD support