Fix build, and prefer latest MSVC on Windows