fix build error no --with-ssl case