Don't build headers when jni building is disabled.
(#7) Fix and document JNI/classloader issues.