Remove an empty directory from the tarball, and automatically resolve the path to the dll references.