link socat against ncurses