Fix compilation on mac os with clang/libc++
Merge pull request #13 from wackou/fix_macos_compile

Fix compilation on mac os with clang/libc++