EL7 Fixes for CentOS

Could we make this compare against `:osfamily` instead? As OEL/Scientific etc. will also need to be accounted for.