The 'getline' function is not available in MingW, fgets should be, so this gets us compatible with Windows builds again.