linking with NCURSES