With 4e7f4237 and 5e73c832, systemd library detection through pkg-config was changed to unconditionally look for unified libsystemd.
This adds a fallback to match the previous behavior and find the split libs as well.