JNI tests
Add build scripts for generic Linux machines