make packaging compatible with EL5

This makes the redhat packaging compatible with RHEL5.

As there is no release branch for 2013.10 here, the pr is against master. Can you please tag as release/2013.10/final2 afterwards