Ensure a real platform is present for Android detection.
Merge pull request #260 from square/jw/platform-detection

Ensure a real platform is present for Android detection.