fixing DLL references