[Bug 18089] import_dll should check SharedDLLs