Mostly compiles for iOS (LLVM doesn't seem to like the SJLJ exceptions).