added -I/usr/include/ncurses so that curses.h can be found in Cygwin
removing unnecessary signal.h include
adding missing <ctime> header for std::time()