Added -inMemory flag to build system