[libvirt] Error while running event-test.c from libvirt