Fixed C support.

Some files looked like C files, but needed a C++ compiler.