Driver core: fix error by cleanup up symlinks properly