Google earth: Corrected #ifdef for Google Earth-specific code.
Merge pull request #551 from Susurrus/google_earth

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