Fixed FindOpenSSL and a few other linux build issues.