Significant progress on building the shared JNI library in a
cross-platform manner.  This is still incomplete!