forgot to us commit all in git. This commit adds build script changes and JNI caching.