fix compilation under clang
Merge pull request #11 from Altren/master

fix compilation under clang