Fix HAVE_CXX11 doesn't imply HAVE_CXX11_ATOMIC and vice versa
Travis: fix allow_failures keys