EL7 Fixes for CentOS

@hunner I would have used $::osfamily as suggested but then Fedora would match no? I've added a long list of the other distros though.