Use variable to handle autobuild target directory