COMP: Address a windows compilation error

fmin was replaced by std::min to address the windows compilation error
Merge pull request #718 from fdrakopo/myNewExtensions

COMP: Address a windows compilation error