iOS compile

Create a static lib for iOS
Merge pull request #15 from allbabel/master

Build a static library on iOS