Better fix for mutex related crashes on iOS

- libgreen/rustuv works on iOS now
- removed a couple of extern declarations to avoid unused warnings