Fix headers for NetBSD