Added support to build against libbsd (systemd version only)