Fixed an issue with finding the toolchain's ncurses.