replace config.h settings with runtime ones