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