more_clear_headers support in centos

If you are using the nginx repo under RHEL, more_clear_headers is not supported. This fix checks for the installation method and the operating system.