fix command line building of <msbuild>, PR 38392, contributed by Brian Watson