Update 1.12 VC project

Several fixes for the Visual Studio project files are backported from master to 1.12 and a unique commit (deleting YAMG) is adressed as well.