Add required flags, classes and definitions for play services.
Merge pull request #889 from eiriksm/play-services-fix

Add required flags, classes and definitions for play services.