Fix build on iOS