Run cppcheck from the proper directory