Or you could have Napolean deciding to make invading the Ottoman empire a priority instead of the Russian empire.
Err... what? Napoleon invaded Russia because Russia was trading with Britain, breaking the blockade of British goods to the Continent, and setting a 'bad example' for the other European powers.
Why on Earth would he attack the Ottomans?
Maybe if you could somehow make Britain and France think their interests were best served by eliminating the Ottoman Empire.
Korprulu dynasty go
Was eliminating the Ottoman Empire doable by the early 19th century? Yeah, the days of Suleiman the Magnificent were long past, there was Napoleon's invasion of Egypt and the Empire had steadily been losing territory for over a hundred years, but I've always thought it still packed a bit of a punch... at least before the Greek War of Independence.
Or have Murad IV live long enough to see his execution order of Ibrahim be carried out, and then he dies. That would see the Ottoman Empire rip itself apart with civil war.