Nake use of hooks for mm_atexit.