use -std=c++11 for when CONFIG contains cpp11 - for clang or newer g++