Fix ios linking problem.