Fix hugin build