initial pass at supporting version constraints in value_for_platform