let emacs use local ncurses