Build with mem.c