fixed bin path search to work for console apps
Merge pull request #32 from cbayles/master

fixed bin path search to work for console apps