save DEP_LIBS before processing subdirs