support RHEL6. closes #29