Fix factory method of Load_Dotnet_dll func