Fix build failure on BrowserSim feature