Resolve native library loading