updated cppflags for cmake