Fix not to look for target dir