cxx flags must come before project; using c++11