Changed to compile as c++ for all build configurations.
Merge pull request #3288 from fluffyfreak/fix-vs2013-compile

Changed to compile as c++ for all build configurations.