Add support for global generators

Ensures support across all OS since the `node_modules` dir always is four
levels up from `env.js`.