Fix building on OpenBSD due to lack of sys/ucontext.h header.
Patch by brad@comstyle.com. This closes ticket:3917.