Check if static_assert needs to be disabled.