Fix crash making Windows VMs on some hosts