Workaround for libvirt versions without VIR_DOMAIN_XML_INACTIVE