Fixes incompatibility issues with LibVirt 1.1.2 and greater.