fix compile error: /usr/bin/ld: cannot find -lncurses