Fix submodule handling on windows as well