Link with ncurses