fix linux build for lottoshares daemon