Updated linking in windows