Use standard assertion

And hopefully we'll figure out why this fails on some Trilinos
configurations...