Various fixes to the Visual Studio project files so Y now builds again on Windows.