Fix iphone static linkage

I found the fix here: https://groups.google.com/forum/#!msg/haxelang/bMynkJjM8FQ/cuORDdYQxIEJ