Fix build for ios