fix shallow git clone in static build script