added ncurses to travis, corrected script.