fix generator passed to cmake for windows build