Update clean script to work with latest bindings.