JNI buildscripts