Fix ios build