fix centos support
Merge pull request #7 from roidelapluie/master

fix centos support