fix broken C++11 flag on linux