Fixes in database prv, added support for jna.library.path