Detect iOS simulator target.
Merge pull request #2 from preo/master

Detect iOS simulator target.