fix tempDoublePtr additions
__cxa_atexit redirect