fixed gdal script to first clean out the build, then check for more errors