Script for generating JNI header files

@emanuelez @bmunkholm 
Please notice line 7 in the script