Turned on clang c++ 11 support, and other small changes.