Modified check for existence of hg binary to also work on windows
Merge pull request #3432 from joehealy/develop

Modified check for existence of hg binary to also work on windows