Add iOS build target, and fix a C++ edge case that caused errors with clang
Merge pull request #1 from meancoot/master

Add iOS build target.