fix s3util to make it compile in github.com/Aditazz