configure.in: Use pkg-config to detect the upsclient library.