Fixed cmake so that c++11 support is enabled while still being able to
compile/link ObjC.
Put C++ flags and C++11 enabling/checking into compilation.cmake