Fix openssl098 build.

* Backport configure method from openssl formula.