Fix os detection for CentOS