Backport EAPI in order to support binary distribution of glibc. Temporary fix.