Set up GCM dependency and permissions