Fix things for distribution.