fixed header dependencies for the JNI wrapper
build and run the JNI wrapper on Unix-y systems