Enable C++11 support when available.