modify cmakelists for mac os and check compiler supports c++11 feature
modify CMakeLists.txt
Merge pull request #12 from sparkstar/features/cmake

Features/cmake