Add -Wno-c++11-extensions flag for compilation