Fixed linker flags for windows