Support Enterprise Linux based distributions

Tested on CentOS, but should work on others too.
Merge pull request #4 from tmatilai/centos

Add support for CentOS and other EL based distros