Removed broken hack to support shared DLLs (e.g. USER32.DLL) and