Fixes chrome extension build (#2951)