Specify platform for msbuild too

Otherwise, it will use an environment variable 'PLATFORM' if available,
which maybe set to an invalid value