fix the source dir for JNI libraries in gradle projects