Remove use of gnulib (part 1)