windows: better msbuild version/path parsing and query correct registry on 64-bit