Remove old link before creating the new one.

diff --git a/programs/Makeprog.rules.in b/programs/Makeprog.rules.in
index 9220cf4..cee885d 100644
--- a/programs/Makeprog.rules.in
+++ b/programs/Makeprog.rules.in
@@ -41,7 +41,7 @@
 install:: $(MODULE).so
 	[ -d $(bindir) ] || $(MKDIR) $(bindir)
 	$(INSTALL_PROGRAM) $(MODULE).so $(bindir)/$(MODULE).so
-	cd $(bindir) && $(LN_S) wine $(MODULE)
+	cd $(bindir) && $(RM) $(MODULE) && $(LN_S) wine $(MODULE)
 
 uninstall::
 	cd $(bindir) && $(RM) $(MODULE) $(MODULE).so