Look for 'undefined references' or 'undefined citations'

It seems `natbib` produces the latter message.

Fixes #14.