The default clause of value_for_platform shouldn't use a hash.

When you reach the "default" case of value for platform, it simply
returns the value, rather than trying to match on version.