Compile C code to call JNI and link C callbacks implementations to Java extern methods