Added <climits> to properly support INT_MIN