Fixes building on iOS

As [discussed](https://github.com/rust-lang/rust/issues/17168)