windows.h brakes std:min std:max