Left to someone with more node knowledge than me (@vandenoever @thz). Still, please add a comment in the code as well, to help some future reader to understand why this is done (and that it is a for-windows hack).