fixes pack.js for windows