Fixing un-needed target-dir