port the eglibc cross compiling fix to version 2.9