Use pkg-config to determine libs and cflags

This makes us immune against systemd's library splits and joins (like
all libs being integrated into libsystemd)