Nicer logic for `platform` var

![Change tactic](http://gifs.gifbin.com/022012/1329246457_train_track_bike_jump.gif)
@ironsidevsquincy