title: dts-gen: fails to find globally installed modules
body: <p>I have installed dts-gen globally</p>
  
  <p><code>npm i -g dts-gen</code></p>
  
  <p>I installed the target module globally</p>
  
  <p><code>npm i -g jhipster-core</code></p>
  
  <p>When I run</p>
  
  <p><code>dts-gen -m jhipster-core -o</code></p>
  
  <p>I get the following output:</p>
  
  <p><code>Couldn't load module "jhipster-core". Please install it globally (npm install -g jhipster-core) and try again.
  </code></p>
  
  <hr>
  
  <p>I am working on a Windows 10 PC and executing the commands on the windows command prompt.</p>