Linking now honors LDFLAGS for Darwin and Cygwin.