You could have the Central Powers win an early victory in WW1, (say, Germans win at the Battle of the Marne), meaning that the Ottomans will still exist by the time oil's found in the Middle East which it can capitalise on, and become a great power again.