We should probably add a check for `process.platform == 'win32'` and `process.platform == 'linux'`.

Could we also use `!process.env.PYTHON` instead of `typeof process.env.PYTHON == 'undefined'`?