main/mc: rebuild with ncurses support