Be sure that correct version of openssl is used

The full version of openssl is needed (not the limited one).
Fixes GH-2345.
Merge pull request #2346 from alup/master

Check for the proper openssl version