CentOS support

Added support for CentOS.