Add support for config flags in rustc task.