Enables compilation of cctools on FreeBSD.
Fixes bug in the wrapper for waitpid when the status pointer is
NULL.