fix for broken ios build