support `cwd` directive

for `yeoman` compatibility