* fixed configure check_program

* it now adds the found programs to the makefile.local variable directly