Change way to detect systemd