Add dependencies to ncurses and openssl