This fixes the bug in the Improving branch, but it does not affect the PostgreSQL branch. I'll leave it to you to fix this in the PostgreSQL branch too.
Note that SQLite cannot be relocated because it uses JNI. Because of this, using an own copy of SQLite is considered impossible in plugins. If you need to use SQLite I suggest using the version of SQLite bundled with the server implementation. Note that Velocity does not bundle SQLite, however.
This fixes the bug in the Improving branch, but it does not affect the PostgreSQL branch. I'll leave it to you to fix this in the PostgreSQL branch too.
Note that SQLite cannot be relocated because it uses JNI. Because of this, using an own copy of SQLite is considered impossible in plugins. If you need to use SQLite I suggest using the version of SQLite bundled with the server implementation. Note that Velocity does not bundle SQLite, however.