added C++11 detection cmake