[1/2] fix thrift build on OSX

It's needed for __GLIBC_PREREQ, which I remove.