add excplicit dependency on gencfg target

After merging please release the patch into Hydro.