Fixes assembly for issue #36, plus other Xcode warnings

Still getting a warning when compiling for the simulator; seems to be a libffi issue, GHC users are reporting similar.

>     (null): Could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog