add configure test for c++11 support