switch platform guessing to a static hash
Summary: makes it slightly less of an eye sore
Test Plan: builds
Reviewers: Plasma, broulik
Reviewed By: Plasma, broulik
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D22142