Fix cleaning before creating dist directory