fix library path issue when no configuration file exists, #265