[libvirt PATCH] tests: fix compiling tests with minGW