Fixed DLL loading