Detect Node via `process.versions.node` being defined

This allows for Node-enabled environments where the `window` global is
defined.