[CLEANUP] - Windows issue with calling "npm" from ant.

Changes based on common-ui's build code.
@pamval please review.