Crash fix for Windows XP.