Add cppcheck support in CMake