More NetBSD build fixes.