Fix build for QR code on iOS.