[fix] s/process.env.platform/process.platform/