fix build-dev so clean is finished before subtasks run