Fix the NetBSD build.