make DEBUGMALLOC_EXTENSIONS work under release build