Need unistd.h for intptr_t.

For some reason I only caught this on my debian box. This didn't show up
on a redhat box.
Changes from debugging the python interpreter.