Fixed windows linking