Add CONFIG_DIR as a build property, so that components don't have to derive it from one of the generated config files.