added linking of ncurses

The rebar configuration wasn't bringing in the ncurses library into the creation of encurses.so