Fix C++11 compile errors on Mac OS X 10.9 and LLVM 5.1.