Remove generate-headers target, do not make -DEXITFREE special
Restore memory.h headers list from master