make DEBUGMALLOC_EXTENSIONS work under release build
Merge pull request #70 from sunyc/master

make DEBUGMALLOC_EXTENSIONS work under release build