Use the built-in getline on more systems that don't have it