Fix npm commands tasks under Windows

Fixes #336.