Fix config variable generation.