Use min/max templated functions from std.
Move `UndefinePreprocessorDefinitions` to common-thirdparty.props.