Port SIZET_FORMAT to OSX

Since some machines don't have "%z", I need to manually specify how to
print out a "size_t" on every machine.
Add some missing <stdlib.h> includes