fixes #6963 - make templates compatible with RHEL 5
Merge pull request #4536 from stbenjam/6963

fixes #6963 - make templates compatible with RHEL 5