user biuld_dir passed as argument.