fixes #171 maintain a global map of registered tl_stack objects that we
can iterate over and clean up, which prevents a memory leak when the
fractal tree shared library unloads before all thread-local destructors run
refs #171 split the includes that are used for OSX vs linux builds