Resolves build errors for armv7, armv7s, arm64.

Makes minimal changes to get iSGL3D to compile for XCode 5.1.