VisualStudioProjects: Fixed prebuild event logic to properly detect and handle windows-build version replacement/upgrade