cppcheck: Build the cfg files

Before that, cppcheck failed.
Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. The Cppcheck binary was compiled without CFGDIR set.

So, make it with CFGDIR and copy cfg files to output.