fix pidfile reference, include daemon dependency

addresses #4