Windows assertion failure workaround.