Create workdir before dumping build environment.
Release 1.3.0