Fix windows linkage