Minor changes to update project to be compatible with current version of iOS.