Improved support for Plan 9, older SunOS, and AIX.

Plan 9 requires u.h and libc.h in all programs, IBM AIX requires xopensource, and SunOS under 10 on SPARC may complain of undefined behavior without the now depreciated __MAKECONTEXT_V2_SOURCE, do to a requirement in argument sizes in functions that could break other platforms.