Attempt to fix the build on NetBSD