fixing windows linking