attempt to add auto-browser support for macosx