FIXUP: add OSX _native_sig_leave_handler