Adds missing includes. Fixes Clang build on OSX Mavericks.

`pid_t` is undefined on Clang w/o these includes.