added support for direct linking in Fort.Model.link