Use gnu++11 when using the Xcode project.
Set the deployment target.