make packaging compatible with EL5
Merge pull request #51 from akva2/master_el5

make packaging compatible with EL5