Make custom glibc support less hacky.