Let's not panic!
Add some comments
Detect __cxa_thread_atexit_impl at runtime for linux