Detect systemd in configure script