clean up DEP_LIBS setting