Fix batch installation on windows