fixes #682 - update syntax to work on el6 and el5