Fix windows minion script check