Adding optional target directory for deps