fix linker options for windows