split up CMake things
switching slowly to c++11 features