Updated build file to work with PRODUCTION flag.

Now sets the GCM_KEY via editing the build resources directly.