link order issue for linux build of persistd