Remove extraneous directories