Update to specify the correct extension for C code to the C++ linter
Extra guards to prevent bitching about sparse