Using the native library for multiple JVMs (avoiding access lock)