Massive refactor of msvc stuff in submodules.