[Mac] Fic the build
Merge pull request #1245 from poussa/mac-12

[Mac] Fix the build