Fix dependency on gencfg