Link to -lssl only if we're using ssl