min()/max() macros conflict with ones defined by Windows (or at least MinGW)