patch glibc to fix the "ld-gold version is too old" problem
reorganize platform independent code in PAL