Fixed cmake for windows.