minor changes in OBJS order
RESIZE was missing.
Added functions from mem.h.
Ignore static lib.