Fix the setting 'C++ Language Dialect' for applications created by the wizard of Xcode 5.

Set the setting "C++ Language Dialect" to "C++11 [-std=c++11]".
Set the setting "C++ Standard Library" to "libc++ (LLVM standard C++ library with C++11 support)".