Better way to enable C++11 support