BUILD: use PKG_CHECK_EXISTS macro

URGENT!