Make it run on NetBSD