Add Centos / Redhat / Fedora support

I've added a few changes to the customink pull request, which I've verified work with Centos 6.