fix build for component
Merge pull request #2 from mndvns/component-fix

fix build for component