added clean method to build.C script