clear up C++/C header file of solvers