Implement basis.platform JNI library loader