Add ncurses config for solaris based systems
Merge pull request #37 from konobi/master

Support Solaris systems