compiles and links on windows now