Fix cppcheck support