Add initial support for the RHEL 7 Beta release

Slightly reworked version of a patch I submitted earlier.