cmake: windows: made more consistent with snark
added DWIN32_LEAN_AND_MEAN to fix compile problem
removed IF statement that was commented out