Fix daemon build for gitian