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

Compilation fails when Google Earth support is disabled but you're still on a Mac or Windows box. This fixes that.