Fix compilation on mac os with clang/libc++