[libvirt] [PATCH] tests: Link mocks with libvirt.so