Unlink device when uninstalling.