Ported dlmalloc, added option for dlmalloc to be used as heap manager