Work around missing getline function in OS X 10.6
Merge pull request #4 from maxmind/bz/workaround-missing-getline

Work around missing getline function in OS X 10.6