Fix browser-base compiler errors