Fix compile on win32