fix compilation issues
Merge pull request #3 from abailly/master

fix compilation issues