special case calling npm on windows

npm isn't a binary executable on windows, so ant cannot run it directly.
this fixes dynamic build on windows. again.

Jira-issue: WP-1121
Merge pull request #45 from aldafu/WP-1121-fix-dynamic-build-on-windows

special case calling npm on windows