fix ncurses-dev for debian/ubuntu