Remove std=c++11 until I can figure out what the right flags are for xcode.