build-toolchain.sh: Don't install programs from ncurses

Only libraries and headers are needed for building.