[libvirt] [PATCH python] Fix build with older libvirt versions