updated CMakeLists to not warn about using c++11 on Clang

Also added -Wall.