Fixes an ExecutionEngineException on Unity3D iOS.