fix c and cpp commands