spawn: include libgen.h for OpenBSD
proctool: raise _XOPEN_SOURCE for OpenBSD snprintf()