Fixing a Python3 error that occasionally pops up in the msvc toolchain.
Adding Visual Studio project generation.  Currently, only makefiles projects are supported for Visual Studio 2010, 2012 and 2013.