Fix libvirt build on NetBSD 6.1.