JNI packaging and travis-ci configuration