Fix build for iOS

Change-Id: Ib2c1d439866764a5c3510f0796efe6bc0d8d2a1e