fix component build and config files