Removed cygwin code enforcing a .exe extension.

Fixes #373

See my comment there for discussion.