Resolve JIT runtime linking problems on Android.

Patch by James Lyon!