Fixing issues towards the version recognition and the ssh that is not being found.

- Fixing the method that retrieves the version from git --version command on a windows build with msysgit installed; 
- Fixing the method that retrieves the ssh executable on windows builds.