Not all shared libraries have a JNI_OnLoad.

Change-Id: Iace5d33cbeafbf8b840bebb4bb709e32053f142d