Fix execution of cppcheck as test