Temporary fix to make DLL unloading work.