[NaCl]: Use Linux/MacOS's thread local dtor code.