Added definition of CCD_FMIN for compilation on win.