alternative compile fix for dlmalloc on linux