Fix download build script