support command line builds for iOS - fixes #177
Merge pull request #178 from thomasaw/master

support command line builds for iOS - fixes #177