use --exists for pkg-config checking.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>