[libvirt] [PATCH] build: fix building with '--enable-test-locking'