Explicitly link to ncurses.  Required for building on Slackware.