fix jansi problems on windows