Fix case statement condition for CentOS