Fixed cmake recipe for compilation on win.