fix(generator) resolve path to projects with __dirname for windoze.