adjust config_flags