setup: do not ignore pkg-config failure
setup: reformat to make pep8 happy
setup: simplify pkgconfig() to match how it's called
setup: try multiple package names before giving up on pkg-config
setup: factor out repeated calls to pkgconfig()