Fix Ncurses for OSX 10.9. Might break Linux.