configure: Fix code which creates config.mak files