fixing cmake build on Windows.