fix compile error of min/max macro