Oil prices strengthened on Wednesday, as Opec and its allies were seen complying with a pact to cut oil supply in September,