Add support for Red Hat-based distributions

Modifications made to support RedHat-based distributions. I've omitted support for CMake 2.6 and instead the recipe just installs CMake 2.8