Handle the case for no exe extension.
Merge pull request #10 from yak1ex/cygwin_may_not_have_extension

Handle the case for no exe extension for Cygwin