Correct platform specification

Hi!

First of all, thank you for great work!

I found this bug today: the last parameter was forcing OS X environment as well for iOS devices :)
Submitted patch takes care of both frameworks.

Cheers,
Patryk