Allowing of building on Mac 10.9 with clang and c++11 compiler flags.

This patch set allow building on Mac 10.9 with clang and c++11 compiler flags.


No. This doesn't cover all files generated during build, and covers some files that are _supposed_ to be under version control. Just build in a separate directory.