Split up JNI library initialization

Different platforms require vastly different ways of loading the JNI
glue library, so split the loading job into different directories so
they can be more easily compiled.

Change-Id: I963c2e0d4667cbb655a0788f161eae74d7a2f037
3 files changed