Add support for cxx11 for mac osx.

    * CMakeLists.txt: Here.