Oil prices weaken somewhat in August on slowing economic recovery