added linking of ncurses
Merge pull request #2 from AriaMoKr/master

added linking of ncurses