cygwin also needs to be passed LIBS=-lncurses to link lxdialog successfully