bulding c or c++ with cmake