fix mocha -w spinner on windows