fixed stacktraces on windows to match posix output