Fixes to get the iOS stable build working.