build: fix the msbuild.exe registry lookup on XP