mesos: only builds on Mountain Lion.

Using GCC 4.9, LLVM GCC and Clang all fail.

Closes #31884.