Fix cleaning up symlinks in Makefiles