Revert "Fixed #1792: Create generic JNI OnLoad function"

This reverts commit 0923d8192c52b57b0c0a6d663671f026a95c8362.