Change checking to Centos 7