wrap exe files to find dlls via path
fix wrapper
marko: fix exe wrapper
rename cygwin runtime deps file
fix exe wrapper to use _PATH instead of own magic
Cygwin: fix ncurses.

1. Fix linking against ncurses.dll
2. Fix segfaults with threaded code