Fixed CentOS issues in the install script.