Add a better stack trace printing function on Windows to allow go-to definition in an editor.