we only pass resolved paths in here; avoid ENOENT
Support Cygwin.

You still need to edit the link lines to contain --whole-archive, though.
For some reason libtool wants to help me build things and moves those
flags to incorrect locations.