add support for Centos.
Add ncurses