Several linting fixes. Initial support for RHEL.