OpenSSL version detection was broken, the following fixes it for >1.0.0 versions