Fixed complier warnings from removal of iOS6 SDK.