Added support for Windows environment

I'm pretty sure that this is not the beautiful or Scala way to solve it, so please comment and correct me.
But it fixes at least the problem described.

Nevertheless there come up some more things.
For instance it is not possible at the moment to interact with the yo command. You can execute it, but as soon as it requires user interaction it does not work any longer.