Fix openssl098 build.

* Backport configure method from openssl formula.

Try to address https://github.com/Homebrew/homebrew-versions/issues/115.