1314: do not use intermentiate array before wrinting to makefile.config.*