Fix starting default browser algorithm (cross platform)