Fixed download of dependencies on windows