fix build regression in oldmalloc