Allow to have a library configuration file in the project folder (from i...

...ssue #1734)