fix path lookup from main, browser, browserify fields