only build hg subpackage on el7+ (resolves #2)