fix up Win32 import library handling to avoid bogus deps