upgrade gcc for c++11 only