add c++11 support if available