Determine running platform in run task.