remove suffixes from platform names