remove old JNI loader and add generator plugin as dependency