See bug #67635

Improve previous fix:
- also rely on pkg-config for systemd < 209
- always check for header
- comments