Do this by linking against the shared library version, and depend on openssl to fulfill this dependency.