Fix compilation when OpenSSL has no ENGINE support