Fix compile.
Generate unique cfg file.