Fixed wrong re-generation of 'config-paths.h' file