Use substring rather than exact match when checking platform