logtrace: only export cmd when finsh is enabled
msh: only export cd/pwd when DFS_USING_WORKDIR is set
Merge pull request #163 from grissiom/compiling-fix

Compiling fix