ncurses: rebuild for runtime errors