builder/common: CheckUnusedConfig