cmake: set C_FLAGS too