Fix a bunch of issues with RHEL