config: fix some entries, build with ncurses termcap.h

Change-Id: I1e86267239cdb5e1eab58403dba01974ef54647b