Fixed compiler error when not using ssl