Let ncurses build again on Solaris.
Trac #15796: Ncurses does not compile on Sparc

This was broken in #15617. If it is not fixed before 6.2 is ready, I'll
back out that ticket.

http://build.sagemath.org/sage/builders/%20%20slow%20Skynet%20mark%20%28
SunOS%205.10-32%29%20full/builds/17/steps/compile_1/logs/ncurses

Upstream report: http://lists.gnu.org/archive/html/bug-
ncurses/2014-02/msg00002.html

URL: http://trac.sagemath.org/15796
Reported by: vbraun
Ticket author(s): Jean-Pierre Flori
Reviewer(s): Volker Braun