added glibc linker patch for ARM and removed some cruft