[libvirt] [PATCH v3] make sure libvirt is linked first