add ncurses as dependency
fix typo in sanitycheck