We can assume `static_assert` is supported in all modern build toolchains, so consume the better version.