Builds ncurses with cpu_cflags