update c/c++ compile flags