make packaging compatible with EL5
Merge pull request #252 from akva2/el5_packaging

make packaging compatible with EL5