wmframepic: Use pkg-config to check for libraries.