support atexit and __cxa_atexit: C++ dtors work!