update cmake for win32