Yet more Gcc / Glibc work

Another handful of fixes.