Change dependency loading to be more robust. Change libConfig file path to be in CMAKE_MODULE_PATH