Added path to .so libraries to LD_LIBRARY_PATH in cfg.sh