gmp: update to 5.1.0a.
ncurses: make this cross buildable.
ncurses: disable building tests.