add pdfork and related calls for freebsd