Add PKG global during BUILD processing.

Packages can access their path relative to the build directory using the
PKG variable.  This is not an environment key because it's statically
known, and because packages do not introduce environments (so it has
nowhere to be set).