Add openssl compile-time version check.

The code won't build without openssl 1.0.0 or better. E.g. default OSX
openssl will not work (install one from brew instead).