Fixed errors in wrapper generation when using Visual Studio 2010
Merge pull request #297 from peastman/master

Fixed errors in wrapper generation when using Visual Studio 2010