BaseClasses: build with `NOMINMAX`.