Fix linking