Add many type casts to appease Visual Studio
Add Visual Studio 2013 project