generated files now generated as '.c' instead of '.cpp'