Typos and formatting fixes on Windows

Couple fixes for typos and fix for Windows error/warning messages, which didn't have "new line" in the end.