Support parameterized build on Windows

On Windows run hg.exe on a CMD. The CMD expands parameters on hg.exe's command line
Hence the revision can be parameterized.