fix pkg-config deps (borrowed from pld)