adding C++11 and Blitz checks in CmakeLists.txt