stdlib.h header in getline lest segfault on Mac OS X.