kml rendering in advanced compilation mode

In advanced compilation mode, the KML example looks wrong:
  http://ol3js.org/en/r3.0.0-alpha.1/examples/kml.html
vs:
  http://ol3js.org/en/r3.0.0-alpha.1/examples/kml.html?mode=raw

An extern is probably missing somewhere.