Fix building with LOW_MEMORY defined.