fix bug related to struct dummy and MS linker