Fix error highlighting on Windows