fix ncurses tinfo, for bundled gdb in clion