Tweak C++11 flags in cmakelists.txt