Remove use of PKG_CHECK_VAR introduced in 4b0861ae.  Closes: #271.