Fixed the linker code for windows