Test before add flags for c++11