Fix compile error on iOS and Mac

...le