Fix detection of optional libvirt support in virt-inspector.