Fix for objc_msgSend crash on 64-bit devices as per Apple guide