Fix broken build with --with-openssl, --with-libgcrypt.