Check for "linux" instead of "__gnu_linux__" in #ifdef for getline()