Ensure PATH is set in the build environment

Without this, the build cannot find gcc.

GOROOT seems sensible to include too.