Only do this if LINK_MODULES is set to yes. This prevents old symlinks getting in the way of other packages. Fixes #21.