Fix #401 (problems with SetupLinking).