Fix OpenSSL version check issues