Added missing external DLL references.