add config macro to check for c++11 support