The configure script confusingly sets CXXFLAGS to gnu++11 but does not use that to check the important stuff. Fix that. Signed-off-by: Rosen Penev <rosenp@gmail.com>