Fix gnulib (and hence libgc) linking issues for platforms that need more of it (e.g. mingw)