If using Clang, tell clang to use C++11.

Fixes the build on OS X 10.8 for me.