restored _GNU_SOURCE for getline in FreeBSD