try compiling with gcc-4.9 when building in c++11 mode