fixes cmake to add C source files