fixed compilation without ssl