more tweaks for c++11 cmake