fix problem on cmake installation on centos