Set compiler flag for c++11