Google earth: Corrected #ifdef for Google Earth-specific code.

Missed an #ifdef back when fixing the build process for QGC.