fix backtrace bug for mingw