Only build generators if CXX11 = true