Updating project to compile in XCode