Add ncurses config for solaris based systems