Added DEPSDIR auto detection