Fix build on Mac; this should satisfy the min/max gods.