changes to allow dist builds