Added -std=c++11 to HAVE_CXX11 check

Otherwise, clang++ defaults to C++0x it seems.