fix OSX compile
Merge pull request #1 from QuentinPerez/fix_OSX_compile

fix OSX compile