fix dist builds