fix problem of installing cmake