Get the right platform from the config.
Get the right platform from the config.

Fixes #97.

Unsure what af617a02 fixed exactly.

HipByte/motion-cocoapods,markrickert/motion-cocoapods,Jimdo/motion-cocoapods,jjaffeux/motion-cocoapods,jbender/motion-pods