Remove unused configs from build config.