fix compiler warnings
std c++11 -> gnu c++11