fix --without-ssl compile error