Fix SOFA config file for CLIs

A few things here:
 - Add SOFA_EXTERNAL_LIBRARY_DIRS to point to the external libs directories
so the CLI can link to them.
 - Likewise add SOFA_BIN_DIR
 - Remove the "d" qualifier of the debug libraries
 - Simply list the librairies by name instead of location