[npm] fix windows build