add glibc patch for macos in tool-mips-linux.sh