fixed sample-browser-macosx compilation