Fixed compiler crash on win32.