Go back to prefering -std=gnu++11, but detect the one known case where this breaks and we need to use -std=c++11.