[libvirt] [PATCH] tests: fix compilation failures