Fixed building for iOS6.x.

This would build for iOS7 but not for iOS6.