patch for libgloss ARM regression