build: find per-platform jni files