Set environment variables before running build script.

There is a current bug in which the build command does not have access to environment variables. This patch makes the environment variables accessible to the build program which is defined in the Procfile.