Use process.platform instead of os.platform()