Fix target-name used by final files.