Improve error message legibility on windows