detect .C as c; fixes #2109