compile libunwind unwinder only of __thread is supported

This fixed build on certain OSX that I have access to.