fixed builds with libcrypto/ssl