run the gunlib checks with same compiler as when building

The gnulib will be built with $CC and not $CXX so we should not run the
gnulib tests with $CXX.

This fixes lavv17/lftp#59