Repaired the linking of the executables.