Mind using `process.platform` instead?