Get glibc version with a distro-agnostic check.