Fixed native library loading.