Activate C++11 features automatically if possible.