adds support for building glibc