Fixing C++11 support check to handle Visual Studio