[ncurses] fix path