fixed setting of cmake c flags