Added option to change target directory on build machine