[Mac] Fix the build
Merge pull request #1203 from poussa/mac-compile-11

[Mac] Fix the build