fix mingw32 sse2 crash and assertion failure (winxp)