Windows debug build crash fix.