Fixed upload error in build script