Use `_.forEach` for platform-shortening

The whole `_.filter` and `_.where` solution was confusing.
Use only one callback in `normalizePlatform`