[build] Update build scripts to work with systemd.