make the node.js sample work on Windows