Adding stdlib.h includes.  Prevents compiler errors on OSX 10.7