Fix for Windows CMake/nmake (ROOT-5560)