We had a buggy version of the AX_CXX_COMPILE_STDCXX macro: it didn't abort the build if no suitable compiler was found. Upgrade to the current version. Relevant on OpenBSD, where the default compiler does not support C++11.