fix systemd support