configure: write config.fate file as early as possible