fix definition for components that have a non-standard 'main' entry point
Merge pull request #6 from chrismcv/master

fix definition for components that have a non-standard 'main' entry poin...