Bugfixes for libvirt-php