Restored support for implementation-dirs configuration file

Requested by Bastian Eicher.