Now compiles on NetBSD