Fixes compilation problems when SSL is enabled.