fix terminfo/tic hangs (build own programs in ncurses)

ncurses toolchain falls back to /usr/bin/tic to build terminfo database.

This was causing stalls when the system tic was incompatible with the
current version.