Use Darwin equivalent of -rpath

Why must they think different?
Use pthreads to implement ucontext.h replacement

Since apparently ucontext.h is deprecated on Mac OS.