updated cmake for windows