For libraries not built with libtool: - Fix the _LDFLAGS issue. - Generate _LIBDEPS and _LTLIBDEPS variables.