Vc12

Changes and project files to compile with Visual Studio 2013.