BUG: Recast label output to satisfy ndimage on 32-bit platforms.