Fix DLL loading issue