fix submodule and build issues on windows