Correct config file generated + avoid sourcing it during compilation.