Added definition of CCD_FMIN for compilation on win.
Fixed cmake recipe for compilation on win.