Add externs file, compile prod in advanced mode