[libvirt] PATCH: Fix 2 build bugs on mingw