[libvirt] [PATCHv2] build: fix mingw build