Build script now cleans GCC directory. Updated dmain patch