switch to a target dir build