Centos 7 detection fix