Small fix

std::min gives malloc error with some projects. Using the openFrameworks
MIN function works fine.