Fix src/tools/Makefile
Fix algencan
Fix bobyqa
Fix cg_descent
Fix cgplus
Fix cobyla