Fixed compilation with MSVC 2012.
Updated Visual Studio 2012 project file.