Added getline support for non-Windows systems. Made it configurable with variable