explicitly defined g++ version to make sure C++11 features are complied